package zzz.tuan2d.toidihoilo;

import zzz.tuan2d.toidihoilo.R.id;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

public class MainActivity extends Activity implements OnClickListener {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);

		findViewById(R.id.buttonIntroduce).setOnClickListener(this);
		findViewById(R.id.buttonRule).setOnClickListener(this);
		findViewById(R.id.buttonStart).setOnClickListener(this);
	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.buttonIntroduce:

			break;

		case R.id.buttonRule:

			break;
		case R.id.buttonStart:
			startActivity(new Intent(MainActivity.this, ListCategoryActivity.class));
			break;
		}
	}
}
